package cn.whitecao.contentcenter.common;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import lombok.extern.slf4j.Slf4j;

/**
 * @author ：腼腆的老黄.
 * @date ：Created in 2019-10-08 11:03
 */
@Slf4j
public class CommonBlockHandler {
    public static String block(String a, BlockException e){
        System.out.println("限流或者降级了");
        e.printStackTrace();
        return "限流或者降级了";
    }
}
